package com.chinasoft.ms.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T> {
    Integer status;  // 200
    String message;
    T data;

    public Result(Integer status, String message) {
        this.status = status;
        this.message = message;
        this.data = null;
    }
}
